<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/layout.css" rel="stylesheet" type="text/css" />
<smart>include file ='../head.config.html'</smart>
<script type="text/javascript" src="../classes/resource/FCKeditor/fckeditor.js"></script>
</head><body>
<div id="container760"><smart>include file ='../header.html'</smart> <smart>include file ='../PathLinksLevel.html'</smart> <smart>include file ='own_shop.menu.html'</smart>
  <div class="member_right">
    <div class="shop_nav_top" style="margin-bottom:0"><span>留言管理</span></div>
    <!--div style="float:left; width:500px; padding:3px; margin-bottom:10px">亲爱的会员，您的店铺留言板正处于显示状态，如果您不希望别人在您店铺首页留言，可以点击隐藏按钮，留言板将被隐藏，之前的留言不会丢失。在您需要的时候可以点击显示按钮。<input style="line-height:18px" type="button" value="隐藏留言板" />
    </div-->
    <div style="float:right; padding:3px"><a href="own_shopmessage.php?action=add">发表留言</a></div>
    <form style="clear:both" action="own_shopmessage.php?action=del" method="post">
     <div><smart>$shop_message_pagelist</smart></div>
      <table id="table_shoplink">
        <tr>
          <th style="text-align:left">发言人及时间</th>
          <th>内容</th>
          <th></th>
        </tr>
        <smart> section name=i loop=$shop_message_array </smart>
        <tr>
          <td align="center" valign="middle" style="text-align:center; width:100px; line-height:1.2em"><a><smart> $shop_message_array[i].member_name </smart></a> <br />
          <smart> $shop_message_array[i].message_time|date_format:"%Y-%m-%d %H:%M" </smart> </td>
          <td align="center" valign="middle" style="vertical-align:top"><smart> $shop_message_array[i].message_content </smart>
		  <smart> if $shop_message_array[i].message_recontent != "" </smart><Br>
		  掌柜回复：<smart> $shop_message_array[i].message_recontent </smart>
		  <smart> /if </smart>
		  </td>
          <td align="center" valign="middle" style="text-align:right; vertical-align:bottom">
		  <smart> if $shop_message_array[i].message_recontent eq "" && $ses_login_name != $shop_message_array[i].member_name</smart>
		  <a href="own_shopmessage.php?action=re&messageid=<smart> $shop_message_array[i].message_id </smart>">回复</a>
		  <smart> /if </smart>
		   <a href="own_shopmessage.php?action=del&messageid=<smart> $shop_message_array[i].message_id </smart>"><smart> $langCdele </smart></a></td>
        </tr>
        <smart> /section </smart>
      </table>
      <div><smart>$shop_message_pagelist</smart></div>
    </form>
  </div>
  <smart>include file ='../footer.html'</smart></div>
</body>
</html>
